package org.example.demo14_observe;

public class InsulationDoor implements  ResponseDevice{
    @Override
    public void update( int temperature) {
        if (temperature > 60) {
            System.out.println("Insulation door is open");
        } else {
            System.out.println("Insulation door is closed");
        }

    }
}
